import snapshot from './snapshot'
import component from './component'
import page from './page'
import date from './dataTable/date'
import select from './dataTable/select'
import preview from './preview'
import clipboard from './clipboard'
import multiple from './multiple'
import filter from './filter'
import jump from './jump'
import linkage from './linkage'
import update from './update'
import animate from './animate'

export default {
  namespaced: true,
  state: {
    ...snapshot.state,
    ...component.state,
    ...page.state,
    ...date.state,
    ...preview.state,
    ...select.state,
    ...clipboard.state,
    ...multiple.state,
    ...filter.state,
    ...jump.state,
    ...linkage.state,
    ...update.state,
    ...animate.state,
  },
  mutations: {
    ...snapshot.mutations,
    ...component.mutations,
    ...page.mutations,
    ...date.mutations,
    ...preview.mutations,
    ...select.mutations,
    ...clipboard.mutations,
    ...multiple.mutations,
    ...filter.mutations,
    ...jump.mutations,
    ...linkage.mutations,
    ...update.mutations,
    ...animate.mutations,
  },
}
